projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ab3df
)
Fix compilation error with non-toolkit scrollbar.
author
Karoly Lorentey
<karoly@lorentey.hu>
Sun, 22 Apr 2007 13:47:56 +0000
(13:47 +0000)
committer
Karoly Lorentey
<karoly@lorentey.hu>
Sun, 22 Apr 2007 13:47:56 +0000
(13:47 +0000)
* src/xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-604
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 6a574533a2cd64344fb85ea8c58204bf877f1fdd..8b0078d6af69ea6a05b46bd0a744c1b420d3efdf 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-5308,7
+5308,7
@@
x_scroll_bar_expose (bar, event)
/* Restore the foreground color of the GC if we changed it above. */
if (f->output_data.x->scroll_bar_foreground_pixel != -1)
XSetForeground (FRAME_X_DISPLAY (f), gc,
-
f->output_data.x->foreground_pixel
);
+
FRAME_FOREGROUND_PIXEL (f)
);
UNBLOCK_INPUT;